package com.rd.student.jike.class2.xuezhixin.day0802;

public class Pig extends Animal{
    @Override
    public void voice() {
        System.out.println("哼哼哼");
    }

    @Override
    public String enjoy() {
        return  "打滚";
    }

    public Pig(String name) {
        super(name);
    }


}
